<template>
  <div class="name">{{ person.name }}</div>
  <span v-for="(item, index) in list" :key="index">{{ item }}</span>
</template>
<script setup lang='ts'>
import  useDemo from '../hooks/userDemo'

let {person,list}=useDemo()
console.log(list);

</script>
<style scoped lang='scss'>


.name{
  margin-right: 12px;
}
</style>
